Skip to content

Major-player behavior indicator ​

Description ​

Returns featured indicator data for BTC or ETH that reflects how major-player activity may influence price trends within a specific time range.

Use cases:

  • Reference for judging the broad price trend of BTC and ETH
  • Identify how major-player behavior affects price and assess overall price direction

Data refresh: Updated every 5 minutes

Endpoint ​

  • Method: POST
  • Path: /open/v1/indicator/getPriceMarketList

Points ​

  • Points per call: 2

Prerequisites ​

Obtaining vsTokenId

ConditionDescriptionHow to obtain
Already have vsTokenIdUse the cached vsTokenId directly; no need to query againExtracted automatically from context
Do not have vsTokenIdCall POST /vs-token/listPrerequisite API call

Request parameters ​

Parameters are sent in the request body as JSON.

ParameterTypeRequiredDescription
vsTokenIdlongYesToken ID
startTimelongNoStart time (millisecond timestamp)
endTimelongYesEnd time (millisecond timestamp)

Response fields ​

Field structure for each object in the data array only:

FieldTypeActual serialized typeDescription
vsTokenIdlongstringToken ID
symbolstringstringToken symbol
datelonglongTime (millisecond timestamp)
priceMarketTypeintegerintegerPrice trend (1: up, 2: down)

Field semantics ​

FieldBusiness meaningUsage suggestion
priceMarketTypePrice trend marker1 indicates an uptrend phase, 2 indicates a downtrend phase; use to judge current price movement

Enum reference ​

priceMarketType — price trend ​

ValueMeaning
1Up
2Down

Request example ​

json
{
    "vsTokenId": 1,           // Token ID
    "startTime": 1770825600000, // Start time (timestamp)
    "endTime": 1773417600000    // End time (timestamp)
}

cURL example (Linux/macOS) ​

bash
curl --location --request POST 'http://${host}/api/open/v1/indicator/getPriceMarketList' \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: xxxxx' \
--header 'X-TIMESTAMP: xxxxx' \
--header 'X-SIGN: xxxxx' \
--header 'Accept: */*' \
--data-raw '{
    "vsTokenId": 1,
    "startTime": 1770825600000,
    "endTime": 1773417600000
}'

cURL example (Windows CMD) ​

cmd
curl --location --request POST "http://${host}/api/open/v1/indicator/getPriceMarketList" ^
--header "Content-Type: application/json" ^
--header "X-API-KEY: xxxxx" ^
--header "X-TIMESTAMP: xxxxx" ^
--header "X-SIGN: xxxxx" ^
--header "Accept: */*" ^
--data-raw "{    \"vsTokenId\": 1,    \"startTime\": 1770825600000,    \"endTime\": 1773417600000}"

Sample success response ​

json
{
    "code": 200,
    "message": "success",
    "data": [
        {
            "vsTokenId": "1",                     // Token ID
            "symbol": "BTC",                      // Token symbol
            "date": 1773158400000,                // Time
            "priceMarketType": 1                   // Price trend (1: up, 2: down)
        },
        {
            "vsTokenId": "1",
            "symbol": "BTC",
            "date": 1773149400000,
            "priceMarketType": 1
        },
        {
            "vsTokenId": "1",
            "symbol": "BTC",
            "date": 1773149100000,
            "priceMarketType": 1
        }
        // ... more items omitted
    ],
    "requestId": "xxx-xxx-xxx"
}